package day05;
//for
public class ForDemo {
    public static void main(String[] args) {
        for (int num=1;num<=9;num++){
            if (num%3!=0){
                System.out.println(num+"*9="+num*9);
            }
        }

        for (int num=1;num<=9;num++){
            if (num%3==0){
                continue;
            }
            System.out.println(num+"*9="+num*9);
        }


        for (int num=1;num<=9;num++){
            if (num==6){
                break;
            }
            System.out.println(num+"*9="+num*9);
        }



        int sum = 0;
        for (int i = 1;i <= 100;i++){
            sum = sum + i;
        }
        System.out.println("sum="+sum);

          sum = 0;
        for (int i=1;i<=200;i+=2){
            sum = sum + i;
        }
        System.out.println("sum="+sum);



    }
}